

</style>
<div class="bjui-pageContent">
	<form action="${base}/admin/questionsAdd" id="form1"
		data-toggle="validate" data-alertmsg="false">
		<table class="table table-condensed table-hover" width="100%">
			<tbody>
				<tr>
					<td><label for="year" class="control-label x85">来源：</label> <input style="width:300px"
						type="text" name="year" id="year" data-rule=""></td>
					<td>
				</tr>
				<tr>
					<td><label for="type" class="control-label x85">题型：</label> <select
						name=type data-toggle="selectpicker" data-rule="required"
						data-width=150>
							</option> <#list questionsType?keys as i>
							<option value="${i}">${questionsType[i]}</option> </#list>
					</select></td>
						</tr>
		<!-- 		<tr>
					<td><label for="type2" class="control-label x85">类型 ：</label>
						<select data-rule="required" name="type2"
						data-toggle="selectpicker" data-width=150> <#list
							Type?keys as i>
							<option value="${i}">${Type[i]}</option> </#list>
					</select></td>
					<td>
				</tr> -->
				<tr>
					<td><label for="title" class="control-label x85"> 题干：</label>
						<textarea cols="70" rows="5" style="overflow:auto;" type="text"
							name="title" id="title" data-rule=""></textarea></td>
					<td>
				</tr>
				<tr>
				<tr>
					<td><label for="content" class="control-label x85">选项：</label>
						<textarea cols="70" type="text" name="content" id="content"
							value="" data-rule=""></textarea><span style="color:#d43c00">多个选项请以&-&分割</span></td>
					<td>
				</tr>
				<tr>
					<td><label for="image2" class="control-label x85">题干公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up7" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success7" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="1" id="doc_pic7">
                        </div> <span id="doc_span_pic7"></span></td>
					<td>
				</tr>
				
					<tr>
					<td><label for="image2" class="control-label x85">答案公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up8" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success8" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="2" id="doc_pic8">
                        </div> <span id="doc_span_pic8"></span></td>
					<td>
				</tr>
				
				<tr>
					<td><label for="image2" class="control-label x85">A公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up3" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success3" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="3" id="doc_pic3">
                        </div> <span id="doc_span_pic3"></span></td>
					<td>
				</tr>
			
					<tr>
					<td><label for="image2" class="control-label x85">B公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up4" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success4" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="4" id="doc_pic4">
                        </div> <span id="doc_span_pic4"></span></td>
					<td>
				</tr>
						<tr>
					<td><label for="image2" class="control-label x85">C公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up5" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success5" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="5" id="doc_pic5">
                        </div> <span id="doc_span_pic5"></span></td>
					<td>
				</tr>
					
						<tr>
					<td><label for="image2" class="control-label x85">D公式：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up6" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success6" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="imageArray" value="6" id="doc_pic6">
                        </div> <span id="doc_span_pic6"></span></td>
					<td>
				</tr>
				
				
				<tr>
					<td><label for="answer" class="control-label x85">答案：</label>
						<input type="text" name="answer" id="answer" value="" data-rule=""><span
						style="color:#d43c00">多个答案请以&-&分割,选择题：0->A 1->B 2->C 3->D
							判断题：0->正确 1->错误</span></td>
					<td>
				</tr>
		


				<tr>
					<td><label for="answers" class="control-label x85">
							答案描述：</label> <textarea cols="70" rows="5" type="text" name="answers"
							id="answers" value="" data-rule=""></textarea></td>
					<td>
				</tr>
				<tr>
					<td><label for="analysis" class="control-label x85">解析：</label>
						<textarea cols="70" rows="5" type="text" name="analysis" id="analysis" value=""
						data-rule=""></textarea></td>
					<td>
				</tr>
				<tr>
					<td><label for="fraction" class="control-label x85">分数：</label>
						<input  type="text" name="fraction"
							id="fraction" value="" data-rule=""></td>
					<td>
				</tr>
				<tr>
					<td><label for="questionsTypeId" class="control-label x85">父id：</label>
						<input type="text" name="questionsTypeId" id="questionsTypeId"
						value="" data-rule="required "><span style="color:#d43c00">请在章节点
							中找到对应的id列</span></td>
					<td>
				</tr>
					<tr>
					<td><label for="image" class="control-label x85">图片：</label>
						<div style="display:inline-block; vertical-align:middle;">
                            <div id="doc_pic_up" data-toggle="upload" data-uploader="${base}/admin/uploadPic" data-file-size-limit="1024000000"
                                data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;" data-multi="false" data-on-upload-success="doc_upload_success2" previewImg=true
                                data-icon="cloud-upload" data-auto="true"></div>
                            <input type="hidden" name="image" value="" id="doc_pic2">
                        </div> <span id="doc_span_pic2"></span></td>
					<td>
				</tr>

			</tbody>
		</table>
	</form>
</div>
<div class="bjui-pageFooter">
	<ul>
		<li><button type="button" class="btn-close" data-icon="close">取消</button></li>
		<li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
	</ul>
</div>
